package news.newsmain.entity;

import java.util.Date;

/**
 * @Author Gong
 * @Description 主新闻实体类
 * @dATE 2022/2/27 15:57
 **/
public class NewsPublish {
    private Integer id;
    private String title;//标题
    private String content;//内容
    private Integer userid;
    private Date createtime;
    private String username;//用户名
    private String desc;//摘要

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
